function mn(e, t) {
  const n = /* @__PURE__ */ Object.create(null), o = e.split(",");
  for (let r = 0; r < o.length; r++)
    n[o[r]] = !0;
  return t ? (r) => !!n[r.toLowerCase()] : (r) => !!n[r];
}
const M = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, gn = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], Pt = () => {
}, En = /^on[^a-z]/, wn = (e) => En.test(e), R = Object.assign, Nn = (e, t) => {
  const n = e.indexOf(t);
  n > -1 && e.splice(n, 1);
}, bn = Object.prototype.hasOwnProperty, E = (e, t) => bn.call(e, t), m = Array.isArray, k = (e) => Ie(e) === "[object Map]", On = (e) => Ie(e) === "[object Set]", N = (e) => typeof e == "function", P = (e) => typeof e == "string", Ge = (e) => typeof e == "symbol", I = (e) => e !== null && typeof e == "object", vn = (e) => I(e) && N(e.then) && N(e.catch), Sn = Object.prototype.toString, Ie = (e) => Sn.call(e), Tt = (e) => Ie(e).slice(8, -1), yn = (e) => Ie(e) === "[object Object]", Ye = (e) => P(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Qe = (e) => {
  const t = /* @__PURE__ */ Object.create(null);
  return (n) => t[n] || (t[n] = e(n));
}, Vn = /-(\w)/g, be = Qe((e) => e.replace(Vn, (t, n) => n ? n.toUpperCase() : "")), ie = Qe(
  (e) => e.charAt(0).toUpperCase() + e.slice(1)
), xn = Qe(
  (e) => e ? `on${ie(e)}` : ""
), ce = (e, t) => !Object.is(e, t), In = (e, t, n) => {
  Object.defineProperty(e, t, {
    configurable: !0,
    enumerable: !1,
    value: n
  });
};
let pt;
const Ae = () => pt || (pt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
function Xe(e) {
  if (m(e)) {
    const t = {};
    for (let n = 0; n < e.length; n++) {
      const o = e[n], r = P(o) ? $n(o) : Xe(o);
      if (r)
        for (const s in r)
          t[s] = r[s];
    }
    return t;
  } else {
    if (P(e))
      return e;
    if (I(e))
      return e;
  }
}
const Cn = /;(?![^(]*\))/g, Rn = /:([^]+)/, Dn = /\/\*[^]*?\*\//g;
function $n(e) {
  const t = {};
  return e.replace(Dn, "").split(Cn).forEach((n) => {
    if (n) {
      const o = n.split(Rn);
      o.length > 1 && (t[o[0].trim()] = o[1].trim());
    }
  }), t;
}
function Ze(e) {
  let t = "";
  if (P(e))
    t = e;
  else if (m(e))
    for (let n = 0; n < e.length; n++) {
      const o = Ze(e[n]);
      o && (t += o + " ");
    }
  else if (I(e))
    for (const n in e)
      e[n] && (t += n + " ");
  return t.trim();
}
function dt(e, ...t) {
  console.warn(`[Vue warn] ${e}`, ...t);
}
let Mt;
function Pn(e, t = Mt) {
  t && t.active && t.effects.push(e);
}
function Tn() {
  return Mt;
}
const le = (e) => {
  const t = new Set(e);
  return t.w = 0, t.n = 0, t;
}, Ft = (e) => (e.w & U) > 0, At = (e) => (e.n & U) > 0, Mn = ({ deps: e }) => {
  if (e.length)
    for (let t = 0; t < e.length; t++)
      e[t].w |= U;
}, Fn = (e) => {
  const { deps: t } = e;
  if (t.length) {
    let n = 0;
    for (let o = 0; o < t.length; o++) {
      const r = t[o];
      Ft(r) && !At(r) ? r.delete(e) : t[n++] = r, r.w &= ~U, r.n &= ~U;
    }
    t.length = n;
  }
}, je = /* @__PURE__ */ new WeakMap();
let ne = 0, U = 1;
const ze = 30;
let y;
const q = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), Ke = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
class An {
  constructor(t, n = null, o) {
    this.fn = t, this.scheduler = n, this.active = !0, this.deps = [], this.parent = void 0, Pn(this, o);
  }
  run() {
    if (!this.active)
      return this.fn();
    let t = y, n = H;
    for (; t; ) {
      if (t === this)
        return;
      t = t.parent;
    }
    try {
      return this.parent = y, y = this, H = !0, U = 1 << ++ne, ne <= ze ? Mn(this) : ht(this), this.fn();
    } finally {
      ne <= ze && Fn(this), U = 1 << --ne, y = this.parent, H = n, this.parent = void 0, this.deferStop && this.stop();
    }
  }
  stop() {
    y === this ? this.deferStop = !0 : this.active && (ht(this), this.onStop && this.onStop(), this.active = !1);
  }
}
function ht(e) {
  const { deps: t } = e;
  if (t.length) {
    for (let n = 0; n < t.length; n++)
      t[n].delete(e);
    t.length = 0;
  }
}
let H = !0;
const jt = [];
function ke() {
  jt.push(H), H = !1;
}
function et() {
  const e = jt.pop();
  H = e === void 0 ? !0 : e;
}
function C(e, t, n) {
  if (H && y) {
    let o = je.get(e);
    o || je.set(e, o = /* @__PURE__ */ new Map());
    let r = o.get(n);
    r || o.set(n, r = le());
    const s = process.env.NODE_ENV !== "production" ? { effect: y, target: e, type: t, key: n } : void 0;
    He(r, s);
  }
}
function He(e, t) {
  let n = !1;
  ne <= ze ? At(e) || (e.n |= U, n = !Ft(e)) : n = !e.has(y), n && (e.add(y), y.deps.push(e), process.env.NODE_ENV !== "production" && y.onTrack && y.onTrack(
    R(
      {
        effect: y
      },
      t
    )
  ));
}
function W(e, t, n, o, r, s) {
  const i = je.get(e);
  if (!i)
    return;
  let c = [];
  if (t === "clear")
    c = [...i.values()];
  else if (n === "length" && m(e)) {
    const a = Number(o);
    i.forEach((h, l) => {
      (l === "length" || l >= a) && c.push(h);
    });
  } else
    switch (n !== void 0 && c.push(i.get(n)), t) {
      case "add":
        m(e) ? Ye(n) && c.push(i.get("length")) : (c.push(i.get(q)), k(e) && c.push(i.get(Ke)));
        break;
      case "delete":
        m(e) || (c.push(i.get(q)), k(e) && c.push(i.get(Ke)));
        break;
      case "set":
        k(e) && c.push(i.get(q));
        break;
    }
  const u = process.env.NODE_ENV !== "production" ? { target: e, type: t, key: n, newValue: o, oldValue: r, oldTarget: s } : void 0;
  if (c.length === 1)
    c[0] && (process.env.NODE_ENV !== "production" ? X(c[0], u) : X(c[0]));
  else {
    const a = [];
    for (const h of c)
      h && a.push(...h);
    process.env.NODE_ENV !== "production" ? X(le(a), u) : X(le(a));
  }
}
function X(e, t) {
  const n = m(e) ? e : [...e];
  for (const o of n)
    o.computed && _t(o, t);
  for (const o of n)
    o.computed || _t(o, t);
}
function _t(e, t) {
  (e !== y || e.allowRecurse) && (process.env.NODE_ENV !== "production" && e.onTrigger && e.onTrigger(R({ effect: e }, t)), e.scheduler ? e.scheduler() : e.run());
}
const jn = /* @__PURE__ */ mn("__proto__,__v_isRef,__isVue"), zt = new Set(
  /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Ge)
), zn = /* @__PURE__ */ tt(), Kn = /* @__PURE__ */ tt(!0), Hn = /* @__PURE__ */ tt(!0, !0), mt = /* @__PURE__ */ Un();
function Un() {
  const e = {};
  return ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
    e[t] = function(...n) {
      const o = p(this);
      for (let s = 0, i = this.length; s < i; s++)
        C(o, "get", s + "");
      const r = o[t](...n);
      return r === -1 || r === !1 ? o[t](...n.map(p)) : r;
    };
  }), ["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
    e[t] = function(...n) {
      ke();
      const o = p(this)[t].apply(this, n);
      return et(), o;
    };
  }), e;
}
function Wn(e) {
  const t = p(this);
  return C(t, "has", e), t.hasOwnProperty(e);
}
function tt(e = !1, t = !1) {
  return function(o, r, s) {
    if (r === "__v_isReactive")
      return !e;
    if (r === "__v_isReadonly")
      return e;
    if (r === "__v_isShallow")
      return t;
    if (r === "__v_raw" && s === (e ? t ? Bt : Wt : t ? sr : Ut).get(o))
      return o;
    const i = m(o);
    if (!e) {
      if (i && E(mt, r))
        return Reflect.get(mt, r, s);
      if (r === "hasOwnProperty")
        return Wn;
    }
    const c = Reflect.get(o, r, s);
    return (Ge(r) ? zt.has(r) : jn(r)) || (e || C(o, "get", r), t) ? c : V(c) ? i && Ye(r) ? c : c.value : I(c) ? e ? Jt(c) : qt(c) : c;
  };
}
const Bn = /* @__PURE__ */ qn();
function qn(e = !1) {
  return function(n, o, r, s) {
    let i = n[o];
    if (B(i) && V(i) && !V(r))
      return !1;
    if (!e && (!Oe(r) && !B(r) && (i = p(i), r = p(r)), !m(n) && V(i) && !V(r)))
      return i.value = r, !0;
    const c = m(n) && Ye(o) ? Number(o) < n.length : E(n, o), u = Reflect.set(n, o, r, s);
    return n === p(s) && (c ? ce(r, i) && W(n, "set", o, r, i) : W(n, "add", o, r)), u;
  };
}
function Jn(e, t) {
  const n = E(e, t), o = e[t], r = Reflect.deleteProperty(e, t);
  return r && n && W(e, "delete", t, void 0, o), r;
}
function Ln(e, t) {
  const n = Reflect.has(e, t);
  return (!Ge(t) || !zt.has(t)) && C(e, "has", t), n;
}
function Gn(e) {
  return C(e, "iterate", m(e) ? "length" : q), Reflect.ownKeys(e);
}
const Yn = {
  get: zn,
  set: Bn,
  deleteProperty: Jn,
  has: Ln,
  ownKeys: Gn
}, Kt = {
  get: Kn,
  set(e, t) {
    return process.env.NODE_ENV !== "production" && dt(
      `Set operation on key "${String(t)}" failed: target is readonly.`,
      e
    ), !0;
  },
  deleteProperty(e, t) {
    return process.env.NODE_ENV !== "production" && dt(
      `Delete operation on key "${String(t)}" failed: target is readonly.`,
      e
    ), !0;
  }
}, Qn = /* @__PURE__ */ R(
  {},
  Kt,
  {
    get: Hn
  }
), nt = (e) => e, Ce = (e) => Reflect.getPrototypeOf(e);
function pe(e, t, n = !1, o = !1) {
  e = e.__v_raw;
  const r = p(e), s = p(t);
  n || (t !== s && C(r, "get", t), C(r, "get", s));
  const { has: i } = Ce(r), c = o ? nt : n ? st : ue;
  if (i.call(r, t))
    return c(e.get(t));
  if (i.call(r, s))
    return c(e.get(s));
  e !== r && e.get(t);
}
function de(e, t = !1) {
  const n = this.__v_raw, o = p(n), r = p(e);
  return t || (e !== r && C(o, "has", e), C(o, "has", r)), e === r ? n.has(e) : n.has(e) || n.has(r);
}
function he(e, t = !1) {
  return e = e.__v_raw, !t && C(p(e), "iterate", q), Reflect.get(e, "size", e);
}
function gt(e) {
  e = p(e);
  const t = p(this);
  return Ce(t).has.call(t, e) || (t.add(e), W(t, "add", e, e)), this;
}
function Et(e, t) {
  t = p(t);
  const n = p(this), { has: o, get: r } = Ce(n);
  let s = o.call(n, e);
  s ? process.env.NODE_ENV !== "production" && Ht(n, o, e) : (e = p(e), s = o.call(n, e));
  const i = r.call(n, e);
  return n.set(e, t), s ? ce(t, i) && W(n, "set", e, t, i) : W(n, "add", e, t), this;
}
function wt(e) {
  const t = p(this), { has: n, get: o } = Ce(t);
  let r = n.call(t, e);
  r ? process.env.NODE_ENV !== "production" && Ht(t, n, e) : (e = p(e), r = n.call(t, e));
  const s = o ? o.call(t, e) : void 0, i = t.delete(e);
  return r && W(t, "delete", e, void 0, s), i;
}
function Nt() {
  const e = p(this), t = e.size !== 0, n = process.env.NODE_ENV !== "production" ? k(e) ? new Map(e) : new Set(e) : void 0, o = e.clear();
  return t && W(e, "clear", void 0, void 0, n), o;
}
function _e(e, t) {
  return function(o, r) {
    const s = this, i = s.__v_raw, c = p(i), u = t ? nt : e ? st : ue;
    return !e && C(c, "iterate", q), i.forEach((a, h) => o.call(r, u(a), u(h), s));
  };
}
function me(e, t, n) {
  return function(...o) {
    const r = this.__v_raw, s = p(r), i = k(s), c = e === "entries" || e === Symbol.iterator && i, u = e === "keys" && i, a = r[e](...o), h = n ? nt : t ? st : ue;
    return !t && C(
      s,
      "iterate",
      u ? Ke : q
    ), {
      // iterator protocol
      next() {
        const { value: l, done: f } = a.next();
        return f ? { value: l, done: f } : {
          value: c ? [h(l[0]), h(l[1])] : h(l),
          done: f
        };
      },
      // iterable protocol
      [Symbol.iterator]() {
        return this;
      }
    };
  };
}
function j(e) {
  return function(...t) {
    if (process.env.NODE_ENV !== "production") {
      const n = t[0] ? `on key "${t[0]}" ` : "";
      console.warn(
        `${ie(e)} operation ${n}failed: target is readonly.`,
        p(this)
      );
    }
    return e === "delete" ? !1 : this;
  };
}
function Xn() {
  const e = {
    get(s) {
      return pe(this, s);
    },
    get size() {
      return he(this);
    },
    has: de,
    add: gt,
    set: Et,
    delete: wt,
    clear: Nt,
    forEach: _e(!1, !1)
  }, t = {
    get(s) {
      return pe(this, s, !1, !0);
    },
    get size() {
      return he(this);
    },
    has: de,
    add: gt,
    set: Et,
    delete: wt,
    clear: Nt,
    forEach: _e(!1, !0)
  }, n = {
    get(s) {
      return pe(this, s, !0);
    },
    get size() {
      return he(this, !0);
    },
    has(s) {
      return de.call(this, s, !0);
    },
    add: j("add"),
    set: j("set"),
    delete: j("delete"),
    clear: j("clear"),
    forEach: _e(!0, !1)
  }, o = {
    get(s) {
      return pe(this, s, !0, !0);
    },
    get size() {
      return he(this, !0);
    },
    has(s) {
      return de.call(this, s, !0);
    },
    add: j("add"),
    set: j("set"),
    delete: j("delete"),
    clear: j("clear"),
    forEach: _e(!0, !0)
  };
  return ["keys", "values", "entries", Symbol.iterator].forEach((s) => {
    e[s] = me(
      s,
      !1,
      !1
    ), n[s] = me(
      s,
      !0,
      !1
    ), t[s] = me(
      s,
      !1,
      !0
    ), o[s] = me(
      s,
      !0,
      !0
    );
  }), [
    e,
    n,
    t,
    o
  ];
}
const [
  Zn,
  kn,
  er,
  tr
] = /* @__PURE__ */ Xn();
function rt(e, t) {
  const n = t ? e ? tr : er : e ? kn : Zn;
  return (o, r, s) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? o : Reflect.get(
    E(n, r) && r in o ? n : o,
    r,
    s
  );
}
const nr = {
  get: /* @__PURE__ */ rt(!1, !1)
}, rr = {
  get: /* @__PURE__ */ rt(!0, !1)
}, or = {
  get: /* @__PURE__ */ rt(!0, !0)
};
function Ht(e, t, n) {
  const o = p(n);
  if (o !== n && t.call(e, o)) {
    const r = Tt(e);
    console.warn(
      `Reactive ${r} contains both the raw and reactive versions of the same object${r === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
    );
  }
}
const Ut = /* @__PURE__ */ new WeakMap(), sr = /* @__PURE__ */ new WeakMap(), Wt = /* @__PURE__ */ new WeakMap(), Bt = /* @__PURE__ */ new WeakMap();
function ir(e) {
  switch (e) {
    case "Object":
    case "Array":
      return 1;
    case "Map":
    case "Set":
    case "WeakMap":
    case "WeakSet":
      return 2;
    default:
      return 0;
  }
}
function cr(e) {
  return e.__v_skip || !Object.isExtensible(e) ? 0 : ir(Tt(e));
}
function qt(e) {
  return B(e) ? e : ot(
    e,
    !1,
    Yn,
    nr,
    Ut
  );
}
function Jt(e) {
  return ot(
    e,
    !0,
    Kt,
    rr,
    Wt
  );
}
function ge(e) {
  return ot(
    e,
    !0,
    Qn,
    or,
    Bt
  );
}
function ot(e, t, n, o, r) {
  if (!I(e))
    return process.env.NODE_ENV !== "production" && console.warn(`value cannot be made reactive: ${String(e)}`), e;
  if (e.__v_raw && !(t && e.__v_isReactive))
    return e;
  const s = r.get(e);
  if (s)
    return s;
  const i = cr(e);
  if (i === 0)
    return e;
  const c = new Proxy(
    e,
    i === 2 ? o : n
  );
  return r.set(e, c), c;
}
function J(e) {
  return B(e) ? J(e.__v_raw) : !!(e && e.__v_isReactive);
}
function B(e) {
  return !!(e && e.__v_isReadonly);
}
function Oe(e) {
  return !!(e && e.__v_isShallow);
}
function Ue(e) {
  return J(e) || B(e);
}
function p(e) {
  const t = e && e.__v_raw;
  return t ? p(t) : e;
}
function lr(e) {
  return In(e, "__v_skip", !0), e;
}
const ue = (e) => I(e) ? qt(e) : e, st = (e) => I(e) ? Jt(e) : e;
function ur(e) {
  H && y && (e = p(e), process.env.NODE_ENV !== "production" ? He(e.dep || (e.dep = le()), {
    target: e,
    type: "get",
    key: "value"
  }) : He(e.dep || (e.dep = le())));
}
function ar(e, t) {
  e = p(e);
  const n = e.dep;
  n && (process.env.NODE_ENV !== "production" ? X(n, {
    target: e,
    type: "set",
    key: "value",
    newValue: t
  }) : X(n));
}
function V(e) {
  return !!(e && e.__v_isRef === !0);
}
function fr(e) {
  return pr(e, !1);
}
function pr(e, t) {
  return V(e) ? e : new dr(e, t);
}
class dr {
  constructor(t, n) {
    this.__v_isShallow = n, this.dep = void 0, this.__v_isRef = !0, this._rawValue = n ? t : p(t), this._value = n ? t : ue(t);
  }
  get value() {
    return ur(this), this._value;
  }
  set value(t) {
    const n = this.__v_isShallow || Oe(t) || B(t);
    t = n ? t : p(t), ce(t, this._rawValue) && (this._rawValue = t, this._value = n ? t : ue(t), ar(this, t));
  }
}
function hr(e) {
  return V(e) ? e.value : e;
}
const _r = {
  get: (e, t, n) => hr(Reflect.get(e, t, n)),
  set: (e, t, n, o) => {
    const r = e[t];
    return V(r) && !V(n) ? (r.value = n, !0) : Reflect.set(e, t, n, o);
  }
};
function mr(e) {
  return J(e) ? e : new Proxy(e, _r);
}
const L = [];
function gr(e) {
  L.push(e);
}
function Er() {
  L.pop();
}
function w(e, ...t) {
  if (process.env.NODE_ENV === "production")
    return;
  ke();
  const n = L.length ? L[L.length - 1].component : null, o = n && n.appContext.config.warnHandler, r = wr();
  if (o)
    G(
      o,
      n,
      11,
      [
        e + t.join(""),
        n && n.proxy,
        r.map(
          ({ vnode: s }) => `at <${dn(n, s.type)}>`
        ).join(`
`),
        r
      ]
    );
  else {
    const s = [`[Vue warn]: ${e}`, ...t];
    r.length && s.push(`
`, ...Nr(r)), console.warn(...s);
  }
  et();
}
function wr() {
  let e = L[L.length - 1];
  if (!e)
    return [];
  const t = [];
  for (; e; ) {
    const n = t[0];
    n && n.vnode === e ? n.recurseCount++ : t.push({
      vnode: e,
      recurseCount: 0
    });
    const o = e.component && e.component.parent;
    e = o && o.vnode;
  }
  return t;
}
function Nr(e) {
  const t = [];
  return e.forEach((n, o) => {
    t.push(...o === 0 ? [] : [`
`], ...br(n));
  }), t;
}
function br({ vnode: e, recurseCount: t }) {
  const n = t > 0 ? `... (${t} recursive calls)` : "", o = e.component ? e.component.parent == null : !1, r = ` at <${dn(
    e.component,
    e.type,
    o
  )}`, s = ">" + n;
  return e.props ? [r, ...Or(e.props), s] : [r + s];
}
function Or(e) {
  const t = [], n = Object.keys(e);
  return n.slice(0, 3).forEach((o) => {
    t.push(...Lt(o, e[o]));
  }), n.length > 3 && t.push(" ..."), t;
}
function Lt(e, t, n) {
  return P(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : V(t) ? (t = Lt(e, p(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : N(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = p(t), n ? t : [`${e}=`, t]);
}
const it = {
  sp: "serverPrefetch hook",
  bc: "beforeCreate hook",
  c: "created hook",
  bm: "beforeMount hook",
  m: "mounted hook",
  bu: "beforeUpdate hook",
  u: "updated",
  bum: "beforeUnmount hook",
  um: "unmounted hook",
  a: "activated hook",
  da: "deactivated hook",
  ec: "errorCaptured hook",
  rtc: "renderTracked hook",
  rtg: "renderTriggered hook",
  0: "setup function",
  1: "render function",
  2: "watcher getter",
  3: "watcher callback",
  4: "watcher cleanup function",
  5: "native event handler",
  6: "component event handler",
  7: "vnode hook",
  8: "directive hook",
  9: "transition hook",
  10: "app errorHandler",
  11: "app warnHandler",
  12: "ref function",
  13: "async component loader",
  14: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"
};
function G(e, t, n, o) {
  let r;
  try {
    r = o ? e(...o) : e();
  } catch (s) {
    Gt(s, t, n);
  }
  return r;
}
function ve(e, t, n, o) {
  if (N(e)) {
    const s = G(e, t, n, o);
    return s && vn(s) && s.catch((i) => {
      Gt(i, t, n);
    }), s;
  }
  const r = [];
  for (let s = 0; s < e.length; s++)
    r.push(ve(e[s], t, n, o));
  return r;
}
function Gt(e, t, n, o = !0) {
  const r = t ? t.vnode : null;
  if (t) {
    let s = t.parent;
    const i = t.proxy, c = process.env.NODE_ENV !== "production" ? it[n] : n;
    for (; s; ) {
      const a = s.ec;
      if (a) {
        for (let h = 0; h < a.length; h++)
          if (a[h](e, i, c) === !1)
            return;
      }
      s = s.parent;
    }
    const u = t.appContext.config.errorHandler;
    if (u) {
      G(
        u,
        null,
        10,
        [e, i, c]
      );
      return;
    }
  }
  vr(e, n, r, o);
}
function vr(e, t, n, o = !0) {
  if (process.env.NODE_ENV !== "production") {
    const r = it[t];
    if (n && gr(n), w(`Unhandled error${r ? ` during execution of ${r}` : ""}`), n && Er(), o)
      throw e;
    console.error(e);
  } else
    console.error(e);
}
let Se = !1, We = !1;
const D = [];
let K = 0;
const ee = [];
let T = null, z = 0;
const Yt = /* @__PURE__ */ Promise.resolve();
let ct = null;
const Sr = 100;
function yr(e) {
  const t = ct || Yt;
  return e ? t.then(this ? e.bind(this) : e) : t;
}
function Vr(e) {
  let t = K + 1, n = D.length;
  for (; t < n; ) {
    const o = t + n >>> 1;
    ae(D[o]) < e ? t = o + 1 : n = o;
  }
  return t;
}
function lt(e) {
  (!D.length || !D.includes(
    e,
    Se && e.allowRecurse ? K + 1 : K
  )) && (e.id == null ? D.push(e) : D.splice(Vr(e.id), 0, e), Qt());
}
function Qt() {
  !Se && !We && (We = !0, ct = Yt.then(Zt));
}
function Xt(e) {
  m(e) ? ee.push(...e) : (!T || !T.includes(
    e,
    e.allowRecurse ? z + 1 : z
  )) && ee.push(e), Qt();
}
function xr(e) {
  if (ee.length) {
    const t = [...new Set(ee)];
    if (ee.length = 0, T) {
      T.push(...t);
      return;
    }
    for (T = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), T.sort((n, o) => ae(n) - ae(o)), z = 0; z < T.length; z++)
      process.env.NODE_ENV !== "production" && kt(e, T[z]) || T[z]();
    T = null, z = 0;
  }
}
const ae = (e) => e.id == null ? 1 / 0 : e.id, Ir = (e, t) => {
  const n = ae(e) - ae(t);
  if (n === 0) {
    if (e.pre && !t.pre)
      return -1;
    if (t.pre && !e.pre)
      return 1;
  }
  return n;
};
function Zt(e) {
  We = !1, Se = !0, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), D.sort(Ir);
  const t = process.env.NODE_ENV !== "production" ? (n) => kt(e, n) : Pt;
  try {
    for (K = 0; K < D.length; K++) {
      const n = D[K];
      if (n && n.active !== !1) {
        if (process.env.NODE_ENV !== "production" && t(n))
          continue;
        G(n, null, 14);
      }
    }
  } finally {
    K = 0, D.length = 0, xr(e), Se = !1, ct = null, (D.length || ee.length) && Zt(e);
  }
}
function kt(e, t) {
  if (!e.has(t))
    e.set(t, 1);
  else {
    const n = e.get(t);
    if (n > Sr) {
      const o = t.ownerInstance, r = o && ft(o.type);
      return w(
        `Maximum recursive updates exceeded${r ? ` in component <${r}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`
      ), !0;
    } else
      e.set(t, n + 1);
  }
}
const te = /* @__PURE__ */ new Set();
process.env.NODE_ENV !== "production" && (Ae().__VUE_HMR_RUNTIME__ = {
  createRecord: Te(Cr),
  rerender: Te(Rr),
  reload: Te(Dr)
});
const ye = /* @__PURE__ */ new Map();
function Cr(e, t) {
  return ye.has(e) ? !1 : (ye.set(e, {
    initialDef: oe(t),
    instances: /* @__PURE__ */ new Set()
  }), !0);
}
function oe(e) {
  return hn(e) ? e.__vccOpts : e;
}
function Rr(e, t) {
  const n = ye.get(e);
  n && (n.initialDef.render = t, [...n.instances].forEach((o) => {
    t && (o.render = t, oe(o.type).render = t), o.renderCache = [], o.update();
  }));
}
function Dr(e, t) {
  const n = ye.get(e);
  if (!n)
    return;
  t = oe(t), bt(n.initialDef, t);
  const o = [...n.instances];
  for (const r of o) {
    const s = oe(r.type);
    te.has(s) || (s !== n.initialDef && bt(s, t), te.add(s)), r.appContext.propsCache.delete(r.type), r.appContext.emitsCache.delete(r.type), r.appContext.optionsCache.delete(r.type), r.ceReload ? (te.add(s), r.ceReload(t.styles), te.delete(s)) : r.parent ? lt(r.parent.update) : r.appContext.reload ? r.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
      "[HMR] Root or manually mounted instance modified. Full reload required."
    );
  }
  Xt(() => {
    for (const r of o)
      te.delete(
        oe(r.type)
      );
  });
}
function bt(e, t) {
  R(e, t);
  for (const n in e)
    n !== "__file" && !(n in t) && delete e[n];
}
function Te(e) {
  return (t, n) => {
    try {
      return e(t, n);
    } catch (o) {
      console.error(o), console.warn(
        "[HMR] Something went wrong during Vue component hot-reload. Full reload required."
      );
    }
  };
}
function $r(e, ...t) {
}
const Pr = /* @__PURE__ */ Tr(
  "component:updated"
  /* COMPONENT_UPDATED */
);
function Tr(e) {
  return (t) => {
    $r(
      e,
      t.appContext.app,
      t.uid,
      t.parent ? t.parent.uid : void 0,
      t
    );
  };
}
let b = null, en = null;
function Ot(e) {
  const t = b;
  return b = e, en = e && e.type.__scopeId || null, t;
}
function vt(e, t = b, n) {
  if (!t || e._n)
    return e;
  const o = (...r) => {
    o._d && Dt(-1);
    const s = Ot(t);
    let i;
    try {
      i = e(...r);
    } finally {
      Ot(s), o._d && Dt(1);
    }
    return process.env.NODE_ENV !== "production" && Pr(t), i;
  };
  return o._n = !0, o._c = !0, o._d = !0, o;
}
const Mr = (e) => e.__isSuspense;
function Fr(e, t) {
  t && t.pendingBranch ? m(e) ? t.effects.push(...e) : t.effects.push(e) : Xt(e);
}
const Ee = {};
function Ar(e, t, n) {
  return process.env.NODE_ENV !== "production" && !N(t) && w(
    "`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."
  ), tn(e, t, n);
}
function tn(e, t, { immediate: n, deep: o, flush: r, onTrack: s, onTrigger: i } = M) {
  var c;
  process.env.NODE_ENV !== "production" && !t && (n !== void 0 && w(
    'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
  ), o !== void 0 && w(
    'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
  ));
  const u = (_) => {
    w(
      "Invalid watch source: ",
      _,
      "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
    );
  }, a = Tn() === ((c = A) == null ? void 0 : c.scope) ? A : null;
  let h, l = !1, f = !1;
  if (V(e) ? (h = () => e.value, l = Oe(e)) : J(e) ? (h = () => e, o = !0) : m(e) ? (f = !0, l = e.some((_) => J(_) || Oe(_)), h = () => e.map((_) => {
    if (V(_))
      return _.value;
    if (J(_))
      return Z(_);
    if (N(_))
      return G(_, a, 2);
    process.env.NODE_ENV !== "production" && u(_);
  })) : N(e) ? t ? h = () => G(e, a, 2) : h = () => {
    if (!(a && a.isUnmounted))
      return g && g(), ve(
        e,
        a,
        3,
        [O]
      );
  } : (h = Pt, process.env.NODE_ENV !== "production" && u(e)), t && o) {
    const _ = h;
    h = () => Z(_());
  }
  let g, O = (_) => {
    g = x.onStop = () => {
      G(_, a, 4);
    };
  }, v = f ? new Array(e.length).fill(Ee) : Ee;
  const F = () => {
    if (x.active)
      if (t) {
        const _ = x.run();
        (o || l || (f ? _.some(
          ($e, Pe) => ce($e, v[Pe])
        ) : ce(_, v))) && (g && g(), ve(t, a, 3, [
          _,
          // pass undefined as the old value when it's changed for the first time
          v === Ee ? void 0 : f && v[0] === Ee ? [] : v,
          O
        ]), v = _);
      } else
        x.run();
  };
  F.allowRecurse = !!t;
  let Y;
  r === "sync" ? Y = F : r === "post" ? Y = () => Rt(F, a && a.suspense) : (F.pre = !0, a && (F.id = a.uid), Y = () => lt(F));
  const x = new An(h, Y);
  return process.env.NODE_ENV !== "production" && (x.onTrack = s, x.onTrigger = i), t ? n ? F() : v = x.run() : r === "post" ? Rt(
    x.run.bind(x),
    a && a.suspense
  ) : x.run(), () => {
    x.stop(), a && a.scope && Nn(a.scope.effects, x);
  };
}
function jr(e, t, n) {
  const o = this.proxy, r = P(e) ? e.includes(".") ? zr(o, e) : () => o[e] : e.bind(o, o);
  let s;
  N(t) ? s = t : (s = t.handler, n = t);
  const i = A;
  Le(this);
  const c = tn(r, s.bind(o), n);
  return i ? Le(i) : pn(), c;
}
function zr(e, t) {
  const n = t.split(".");
  return () => {
    let o = e;
    for (let r = 0; r < n.length && o; r++)
      o = o[n[r]];
    return o;
  };
}
function Z(e, t) {
  if (!I(e) || e.__v_skip || (t = t || /* @__PURE__ */ new Set(), t.has(e)))
    return e;
  if (t.add(e), V(e))
    Z(e.value, t);
  else if (m(e))
    for (let n = 0; n < e.length; n++)
      Z(e[n], t);
  else if (On(e) || k(e))
    e.forEach((n) => {
      Z(n, t);
    });
  else if (yn(e))
    for (const n in e)
      Z(e[n], t);
  return e;
}
function Kr(e, t) {
  return N(e) ? (
    // #8326: extend call and options.name access are considered side-effects
    // by Rollup, so we have to wrap it in a pure-annotated IIFE.
    /* @__PURE__ */ (() => R({ name: e.name }, t, { setup: e }))()
  ) : e;
}
const Hr = (e) => !!e.type.__asyncLoader;
function Ur(e, t, n = A, o = !1) {
  if (n) {
    const r = n[e] || (n[e] = []), s = t.__weh || (t.__weh = (...i) => {
      if (n.isUnmounted)
        return;
      ke(), Le(n);
      const c = ve(t, n, e, i);
      return pn(), et(), c;
    });
    return o ? r.unshift(s) : r.push(s), s;
  } else if (process.env.NODE_ENV !== "production") {
    const r = xn(it[e].replace(/ hook$/, ""));
    w(
      `${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`
    );
  }
}
const Wr = (e) => (t, n = A) => (
  // post-create lifecycle registrations are noops during SSR (except for serverPrefetch)
  Ur(e, (...o) => t(...o), n)
), Br = Wr("m"), Be = "components";
function St(e, t) {
  return Jr(Be, e, !0, t) || e;
}
const qr = Symbol.for("v-ndc");
function Jr(e, t, n = !0, o = !1) {
  const r = b || A;
  if (r) {
    const s = r.type;
    if (e === Be) {
      const c = ft(
        s,
        !1
        /* do not include inferred name to avoid breaking existing code */
      );
      if (c && (c === t || c === be(t) || c === ie(be(t))))
        return s;
    }
    const i = (
      // local registration
      // check instance[type] first which is resolved for options API
      yt(r[e] || s[e], t) || // global registration
      yt(r.appContext[e], t)
    );
    if (!i && o)
      return s;
    if (process.env.NODE_ENV !== "production" && n && !i) {
      const c = e === Be ? `
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : "";
      w(`Failed to resolve ${e.slice(0, -1)}: ${t}${c}`);
    }
    return i;
  } else
    process.env.NODE_ENV !== "production" && w(
      `resolve${ie(e.slice(0, -1))} can only be used in render() or setup().`
    );
}
function yt(e, t) {
  return e && (e[t] || e[be(t)] || e[ie(be(t))]);
}
function Lr(e, t, n = {}, o, r) {
  if (b.isCE || b.parent && Hr(b.parent) && b.parent.isCE)
    return t !== "default" && (n.name = t), De("slot", n, o && o());
  let s = e[t];
  process.env.NODE_ENV !== "production" && s && s.length > 1 && (w(
    "SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."
  ), s = () => []), s && s._c && (s._d = !1), on();
  const i = s && nn(s(n)), c = sn(
    Re,
    {
      key: n.key || // slot content array of a dynamic conditional slot may have a branch
      // key attached in the `createSlots` helper, respect that
      i && i.key || `_${t}`
    },
    i || (o ? o() : []),
    i && e._ === 1 ? 64 : -2
  );
  return !r && c.scopeId && (c.slotScopeIds = [c.scopeId + "-s"]), s && s._c && (s._d = !0), c;
}
function nn(e) {
  return e.some((t) => cn(t) ? !(t.type === rn || t.type === Re && !nn(t.children)) : !0) ? e : null;
}
const qe = (e) => e ? lo(e) ? uo(e) || e.proxy : qe(e.parent) : null, se = (
  // Move PURE marker to new line to workaround compiler discarding it
  // due to type annotation
  /* @__PURE__ */ R(/* @__PURE__ */ Object.create(null), {
    $: (e) => e,
    $el: (e) => e.vnode.el,
    $data: (e) => e.data,
    $props: (e) => process.env.NODE_ENV !== "production" ? ge(e.props) : e.props,
    $attrs: (e) => process.env.NODE_ENV !== "production" ? ge(e.attrs) : e.attrs,
    $slots: (e) => process.env.NODE_ENV !== "production" ? ge(e.slots) : e.slots,
    $refs: (e) => process.env.NODE_ENV !== "production" ? ge(e.refs) : e.refs,
    $parent: (e) => qe(e.parent),
    $root: (e) => qe(e.root),
    $emit: (e) => e.emit,
    $options: (e) => Qr(e),
    $forceUpdate: (e) => e.f || (e.f = () => lt(e.update)),
    $nextTick: (e) => e.n || (e.n = yr.bind(e.proxy)),
    $watch: (e) => jr.bind(e)
  })
), Gr = (e) => e === "_" || e === "$", Me = (e, t) => e !== M && !e.__isScriptSetup && E(e, t), Yr = {
  get({ _: e }, t) {
    const { ctx: n, setupState: o, data: r, props: s, accessCache: i, type: c, appContext: u } = e;
    if (process.env.NODE_ENV !== "production" && t === "__isVue")
      return !0;
    let a;
    if (t[0] !== "$") {
      const g = i[t];
      if (g !== void 0)
        switch (g) {
          case 1:
            return o[t];
          case 2:
            return r[t];
          case 4:
            return n[t];
          case 3:
            return s[t];
        }
      else {
        if (Me(o, t))
          return i[t] = 1, o[t];
        if (r !== M && E(r, t))
          return i[t] = 2, r[t];
        if (
          // only cache other properties when instance has declared (thus stable)
          // props
          (a = e.propsOptions[0]) && E(a, t)
        )
          return i[t] = 3, s[t];
        if (n !== M && E(n, t))
          return i[t] = 4, n[t];
        i[t] = 0;
      }
    }
    const h = se[t];
    let l, f;
    if (h)
      return t === "$attrs" ? (C(e, "get", t), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && t === "$slots" && C(e, "get", t), h(e);
    if (
      // css module (injected by vue-loader)
      (l = c.__cssModules) && (l = l[t])
    )
      return l;
    if (n !== M && E(n, t))
      return i[t] = 4, n[t];
    if (
      // global properties
      f = u.config.globalProperties, E(f, t)
    )
      return f[t];
    process.env.NODE_ENV !== "production" && b && (!P(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
    // to infinite warning loop
    t.indexOf("__v") !== 0) && (r !== M && Gr(t[0]) && E(r, t) ? w(
      `Property ${JSON.stringify(
        t
      )} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
    ) : e === b && w(
      `Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`
    ));
  },
  set({ _: e }, t, n) {
    const { data: o, setupState: r, ctx: s } = e;
    return Me(r, t) ? (r[t] = n, !0) : process.env.NODE_ENV !== "production" && r.__isScriptSetup && E(r, t) ? (w(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : o !== M && E(o, t) ? (o[t] = n, !0) : E(e.props, t) ? (process.env.NODE_ENV !== "production" && w(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && w(
      `Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`
    ), !1) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(s, t, {
      enumerable: !0,
      configurable: !0,
      value: n
    }) : s[t] = n, !0);
  },
  has({
    _: { data: e, setupState: t, accessCache: n, ctx: o, appContext: r, propsOptions: s }
  }, i) {
    let c;
    return !!n[i] || e !== M && E(e, i) || Me(t, i) || (c = s[0]) && E(c, i) || E(o, i) || E(se, i) || E(r.config.globalProperties, i);
  },
  defineProperty(e, t, n) {
    return n.get != null ? e._.accessCache[t] = 0 : E(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
  }
};
process.env.NODE_ENV !== "production" && (Yr.ownKeys = (e) => (w(
  "Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
), Reflect.ownKeys(e)));
function Vt(e) {
  return m(e) ? e.reduce(
    (t, n) => (t[n] = null, t),
    {}
  ) : e;
}
function Qr(e) {
  const t = e.type, { mixins: n, extends: o } = t, {
    mixins: r,
    optionsCache: s,
    config: { optionMergeStrategies: i }
  } = e.appContext, c = s.get(t);
  let u;
  return c ? u = c : !r.length && !n && !o ? u = t : (u = {}, r.length && r.forEach(
    (a) => Ve(u, a, i, !0)
  ), Ve(u, t, i)), I(t) && s.set(t, u), u;
}
function Ve(e, t, n, o = !1) {
  const { mixins: r, extends: s } = t;
  s && Ve(e, s, n, !0), r && r.forEach(
    (i) => Ve(e, i, n, !0)
  );
  for (const i in t)
    if (o && i === "expose")
      process.env.NODE_ENV !== "production" && w(
        '"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'
      );
    else {
      const c = Xr[i] || n && n[i];
      e[i] = c ? c(e[i], t[i]) : t[i];
    }
  return e;
}
const Xr = {
  data: xt,
  props: Ct,
  emits: Ct,
  // objects
  methods: re,
  computed: re,
  // lifecycle
  beforeCreate: S,
  created: S,
  beforeMount: S,
  mounted: S,
  beforeUpdate: S,
  updated: S,
  beforeDestroy: S,
  beforeUnmount: S,
  destroyed: S,
  unmounted: S,
  activated: S,
  deactivated: S,
  errorCaptured: S,
  serverPrefetch: S,
  // assets
  components: re,
  directives: re,
  // watch
  watch: kr,
  // provide / inject
  provide: xt,
  inject: Zr
};
function xt(e, t) {
  return t ? e ? function() {
    return R(
      N(e) ? e.call(this, this) : e,
      N(t) ? t.call(this, this) : t
    );
  } : t : e;
}
function Zr(e, t) {
  return re(It(e), It(t));
}
function It(e) {
  if (m(e)) {
    const t = {};
    for (let n = 0; n < e.length; n++)
      t[e[n]] = e[n];
    return t;
  }
  return e;
}
function S(e, t) {
  return e ? [...new Set([].concat(e, t))] : t;
}
function re(e, t) {
  return e ? R(/* @__PURE__ */ Object.create(null), e, t) : t;
}
function Ct(e, t) {
  return e ? m(e) && m(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : R(
    /* @__PURE__ */ Object.create(null),
    Vt(e),
    Vt(t ?? {})
  ) : t;
}
function kr(e, t) {
  if (!e)
    return t;
  if (!t)
    return e;
  const n = R(/* @__PURE__ */ Object.create(null), e);
  for (const o in t)
    n[o] = S(e[o], t[o]);
  return n;
}
const Rt = Fr, eo = (e) => e.__isTeleport, Re = Symbol.for("v-fgt"), to = Symbol.for("v-txt"), rn = Symbol.for("v-cmt"), we = [];
let $ = null;
function on(e = !1) {
  we.push($ = e ? null : []);
}
function no() {
  we.pop(), $ = we[we.length - 1] || null;
}
let fe = 1;
function Dt(e) {
  fe += e;
}
function ro(e) {
  return e.dynamicChildren = fe > 0 ? $ || gn : null, no(), fe > 0 && $ && $.push(e), e;
}
function sn(e, t, n, o, r) {
  return ro(
    De(
      e,
      t,
      n,
      o,
      r,
      !0
      /* isBlock: prevent a block from tracking itself */
    )
  );
}
function cn(e) {
  return e ? e.__v_isVNode === !0 : !1;
}
const oo = (...e) => an(
  ...e
), ln = "__vInternal", un = ({ key: e }) => e ?? null, Ne = ({
  ref: e,
  ref_key: t,
  ref_for: n
}) => (typeof e == "number" && (e = "" + e), e != null ? P(e) || V(e) || N(e) ? { i: b, r: e, k: t, f: !!n } : e : null);
function so(e, t = null, n = null, o = 0, r = null, s = e === Re ? 0 : 1, i = !1, c = !1) {
  const u = {
    __v_isVNode: !0,
    __v_skip: !0,
    type: e,
    props: t,
    key: t && un(t),
    ref: t && Ne(t),
    scopeId: en,
    slotScopeIds: null,
    children: n,
    component: null,
    suspense: null,
    ssContent: null,
    ssFallback: null,
    dirs: null,
    transition: null,
    el: null,
    anchor: null,
    target: null,
    targetAnchor: null,
    staticCount: 0,
    shapeFlag: s,
    patchFlag: o,
    dynamicProps: r,
    dynamicChildren: null,
    appContext: null,
    ctx: b
  };
  return c ? (ut(u, n), s & 128 && e.normalize(u)) : n && (u.shapeFlag |= P(n) ? 8 : 16), process.env.NODE_ENV !== "production" && u.key !== u.key && w("VNode created with invalid key (NaN). VNode type:", u.type), fe > 0 && // avoid a block node from tracking itself
  !i && // has current parent block
  $ && // presence of a patch flag indicates this node needs patching on updates.
  // component nodes also should always be patched, because even if the
  // component doesn't need to update, it needs to persist the instance on to
  // the next vnode so that it can be properly unmounted later.
  (u.patchFlag > 0 || s & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
  // vnode should not be considered dynamic due to handler caching.
  u.patchFlag !== 32 && $.push(u), u;
}
const De = process.env.NODE_ENV !== "production" ? oo : an;
function an(e, t = null, n = null, o = 0, r = null, s = !1) {
  if ((!e || e === qr) && (process.env.NODE_ENV !== "production" && !e && w(`Invalid vnode type when creating vnode: ${e}.`), e = rn), cn(e)) {
    const c = xe(
      e,
      t,
      !0
      /* mergeRef: true */
    );
    return n && ut(c, n), fe > 0 && !s && $ && (c.shapeFlag & 6 ? $[$.indexOf(e)] = c : $.push(c)), c.patchFlag |= -2, c;
  }
  if (hn(e) && (e = e.__vccOpts), t) {
    t = io(t);
    let { class: c, style: u } = t;
    c && !P(c) && (t.class = Ze(c)), I(u) && (Ue(u) && !m(u) && (u = R({}, u)), t.style = Xe(u));
  }
  const i = P(e) ? 1 : Mr(e) ? 128 : eo(e) ? 64 : I(e) ? 4 : N(e) ? 2 : 0;
  return process.env.NODE_ENV !== "production" && i & 4 && Ue(e) && (e = p(e), w(
    "Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
    `
Component that was made reactive: `,
    e
  )), so(
    e,
    t,
    n,
    o,
    r,
    i,
    s,
    !0
  );
}
function io(e) {
  return e ? Ue(e) || ln in e ? R({}, e) : e : null;
}
function xe(e, t, n = !1) {
  const { props: o, ref: r, patchFlag: s, children: i } = e, c = t ? Je(o || {}, t) : o;
  return {
    __v_isVNode: !0,
    __v_skip: !0,
    type: e.type,
    props: c,
    key: c && un(c),
    ref: t && t.ref ? (
      // #2078 in the case of <component :is="vnode" ref="extra"/>
      // if the vnode itself already has a ref, cloneVNode will need to merge
      // the refs so the single vnode can be set on multiple refs
      n && r ? m(r) ? r.concat(Ne(t)) : [r, Ne(t)] : Ne(t)
    ) : r,
    scopeId: e.scopeId,
    slotScopeIds: e.slotScopeIds,
    children: process.env.NODE_ENV !== "production" && s === -1 && m(i) ? i.map(fn) : i,
    target: e.target,
    targetAnchor: e.targetAnchor,
    staticCount: e.staticCount,
    shapeFlag: e.shapeFlag,
    // if the vnode is cloned with extra props, we can no longer assume its
    // existing patch flag to be reliable and need to add the FULL_PROPS flag.
    // note: preserve flag for fragments since they use the flag for children
    // fast paths only.
    patchFlag: t && e.type !== Re ? s === -1 ? 16 : s | 16 : s,
    dynamicProps: e.dynamicProps,
    dynamicChildren: e.dynamicChildren,
    appContext: e.appContext,
    dirs: e.dirs,
    transition: e.transition,
    // These should technically only be non-null on mounted VNodes. However,
    // they *should* be copied for kept-alive vnodes. So we just always copy
    // them since them being non-null during a mount doesn't affect the logic as
    // they will simply be overwritten.
    component: e.component,
    suspense: e.suspense,
    ssContent: e.ssContent && xe(e.ssContent),
    ssFallback: e.ssFallback && xe(e.ssFallback),
    el: e.el,
    anchor: e.anchor,
    ctx: e.ctx,
    ce: e.ce
  };
}
function fn(e) {
  const t = xe(e);
  return m(e.children) && (t.children = e.children.map(fn)), t;
}
function co(e = " ", t = 0) {
  return De(to, null, e, t);
}
function ut(e, t) {
  let n = 0;
  const { shapeFlag: o } = e;
  if (t == null)
    t = null;
  else if (m(t))
    n = 16;
  else if (typeof t == "object")
    if (o & 65) {
      const r = t.default;
      r && (r._c && (r._d = !1), ut(e, r()), r._c && (r._d = !0));
      return;
    } else {
      n = 32;
      const r = t._;
      !r && !(ln in t) ? t._ctx = b : r === 3 && b && (b.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
    }
  else
    N(t) ? (t = { default: t, _ctx: b }, n = 32) : (t = String(t), o & 64 ? (n = 16, t = [co(t)]) : n = 8);
  e.children = t, e.shapeFlag |= n;
}
function Je(...e) {
  const t = {};
  for (let n = 0; n < e.length; n++) {
    const o = e[n];
    for (const r in o)
      if (r === "class")
        t.class !== o.class && (t.class = Ze([t.class, o.class]));
      else if (r === "style")
        t.style = Xe([t.style, o.style]);
      else if (wn(r)) {
        const s = t[r], i = o[r];
        i && s !== i && !(m(s) && s.includes(i)) && (t[r] = s ? [].concat(s, i) : i);
      } else
        r !== "" && (t[r] = o[r]);
  }
  return t;
}
let A = null, at, Q, $t = "__VUE_INSTANCE_SETTERS__";
(Q = Ae()[$t]) || (Q = Ae()[$t] = []), Q.push((e) => A = e), at = (e) => {
  Q.length > 1 ? Q.forEach((t) => t(e)) : Q[0](e);
};
const Le = (e) => {
  at(e), e.scope.on();
}, pn = () => {
  A && A.scope.off(), at(null);
};
function lo(e) {
  return e.vnode.shapeFlag & 4;
}
function uo(e) {
  if (e.exposed)
    return e.exposeProxy || (e.exposeProxy = new Proxy(mr(lr(e.exposed)), {
      get(t, n) {
        if (n in t)
          return t[n];
        if (n in se)
          return se[n](e);
      },
      has(t, n) {
        return n in t || n in se;
      }
    }));
}
const ao = /(?:^|[-_])(\w)/g, fo = (e) => e.replace(ao, (t) => t.toUpperCase()).replace(/[-_]/g, "");
function ft(e, t = !0) {
  return N(e) ? e.displayName || e.name : e.name || t && e.__name;
}
function dn(e, t, n = !1) {
  let o = ft(t);
  if (!o && t.__file) {
    const r = t.__file.match(/([^/\\]+)\.\w+$/);
    r && (o = r[1]);
  }
  if (!o && e && e.parent) {
    const r = (s) => {
      for (const i in s)
        if (s[i] === t)
          return i;
    };
    o = r(
      e.components || e.parent.type.components
    ) || r(e.appContext.components);
  }
  return o ? fo(o) : n ? "App" : "Anonymous";
}
function hn(e) {
  return N(e) && "__vccOpts" in e;
}
function Fe(e) {
  return !!(e && e.__v_isShallow);
}
function po() {
  if (process.env.NODE_ENV === "production" || typeof window > "u")
    return;
  const e = { style: "color:#3ba776" }, t = { style: "color:#0b1bc9" }, n = { style: "color:#b62e24" }, o = { style: "color:#9d288c" }, r = {
    header(l) {
      return I(l) ? l.__isVue ? ["div", e, "VueInstance"] : V(l) ? [
        "div",
        {},
        ["span", e, h(l)],
        "<",
        c(l.value),
        ">"
      ] : J(l) ? [
        "div",
        {},
        ["span", e, Fe(l) ? "ShallowReactive" : "Reactive"],
        "<",
        c(l),
        `>${B(l) ? " (readonly)" : ""}`
      ] : B(l) ? [
        "div",
        {},
        ["span", e, Fe(l) ? "ShallowReadonly" : "Readonly"],
        "<",
        c(l),
        ">"
      ] : null : null;
    },
    hasBody(l) {
      return l && l.__isVue;
    },
    body(l) {
      if (l && l.__isVue)
        return [
          "div",
          {},
          ...s(l.$)
        ];
    }
  };
  function s(l) {
    const f = [];
    l.type.props && l.props && f.push(i("props", p(l.props))), l.setupState !== M && f.push(i("setup", l.setupState)), l.data !== M && f.push(i("data", p(l.data)));
    const g = u(l, "computed");
    g && f.push(i("computed", g));
    const O = u(l, "inject");
    return O && f.push(i("injected", O)), f.push([
      "div",
      {},
      [
        "span",
        {
          style: o.style + ";opacity:0.66"
        },
        "$ (internal): "
      ],
      ["object", { object: l }]
    ]), f;
  }
  function i(l, f) {
    return f = R({}, f), Object.keys(f).length ? [
      "div",
      { style: "line-height:1.25em;margin-bottom:0.6em" },
      [
        "div",
        {
          style: "color:#476582"
        },
        l
      ],
      [
        "div",
        {
          style: "padding-left:1.25em"
        },
        ...Object.keys(f).map((g) => [
          "div",
          {},
          ["span", o, g + ": "],
          c(f[g], !1)
        ])
      ]
    ] : ["span", {}];
  }
  function c(l, f = !0) {
    return typeof l == "number" ? ["span", t, l] : typeof l == "string" ? ["span", n, JSON.stringify(l)] : typeof l == "boolean" ? ["span", o, l] : I(l) ? ["object", { object: f ? p(l) : l }] : ["span", n, String(l)];
  }
  function u(l, f) {
    const g = l.type;
    if (N(g))
      return;
    const O = {};
    for (const v in l.ctx)
      a(g, v, f) && (O[v] = l.ctx[v]);
    return O;
  }
  function a(l, f, g) {
    const O = l[g];
    if (m(O) && O.includes(f) || I(O) && f in O || l.extends && a(l.extends, f, g) || l.mixins && l.mixins.some((v) => a(v, f, g)))
      return !0;
  }
  function h(l) {
    return Fe(l) ? "ShallowRef" : l.effect ? "ComputedRef" : "Ref";
  }
  window.devtoolsFormatters ? window.devtoolsFormatters.push(r) : window.devtoolsFormatters = [r];
}
function ho() {
  po();
}
process.env.NODE_ENV !== "production" && ho();
const _o = /* @__PURE__ */ Kr({
  __name: "index",
  props: {
    name: {
      type: String,
      default: "",
      require: !0
    },
    modelValue: {
      type: String,
      default: "",
      require: !0
    },
    label: {
      type: String,
      default: ""
    },
    placeholder: {
      type: String,
      default: "请输入内容"
    },
    inputAttrs: {
      type: Object,
      default: () => ({})
    },
    formAttrs: {
      type: Object,
      default: () => ({})
    },
    readonly: {
      type: Boolean,
      default: !1
    },
    disabled: {
      type: Boolean,
      default: !1
    },
    rules: {
      type: Array,
      default: () => []
    },
    type: {
      type: String,
      default: "text"
    },
    help: {
      type: String,
      default: ""
    },
    span: {
      type: Number,
      default: 4
    }
  },
  emits: ["update:modelValue", "change", "blur", "clear", "click", "compositionend", "compositionstart", "enter", "focus", "keydown", "keyup", "mouseenter", "mouseleave", "paste", "validate", "wheel"],
  setup(e, { emit: t }) {
    const n = e;
    Br(() => {
      if (!n.name)
        throw new Error("ProFormInput => name is required");
    });
    const o = fr(n.modelValue || "");
    Ar(() => n.modelValue, (d, _) => {
      o.value = d;
    });
    function r(d) {
      t("update:modelValue", d.target.value);
    }
    function s(d) {
      t("change", d);
    }
    function i(d) {
      t("blur", d);
    }
    function c(d) {
      t("click", d);
    }
    function u(d) {
      t("compositionend", d);
    }
    function a(d) {
      t("compositionstart", d);
    }
    function h(d) {
      t("enter", d);
    }
    function l(d) {
      t("focus", d);
    }
    function f(d) {
      t("keydown", d);
    }
    function g(d) {
      t("keyup", d);
    }
    function O(d) {
      t("mouseenter", d);
    }
    function v(d) {
      t("mouseleave", d);
    }
    function F(d) {
      t("paste", d);
    }
    function Y(d) {
      t("validate", d);
    }
    function x(d) {
      t("wheel", d);
    }
    return (d, _) => {
      const $e = St("t-input"), Pe = St("t-form-item");
      return on(), sn(Pe, Je({
        help: n.help,
        name: e.name,
        label: n.label,
        rules: e.rules
      }, n.formAttrs), {
        default: vt(() => [
          De($e, Je({
            onClick: c,
            onCompositionend: u,
            onCompositionstart: a,
            onEnter: h,
            onFocus: l,
            onKeydown: f,
            onKeyup: g,
            onMouseenter: O,
            onMouseleave: v,
            onPaste: F,
            onValidate: Y,
            onWheel: x,
            onBlur: i,
            type: e.type,
            onChange: s
          }, n.inputAttrs, {
            disabled: n.disabled,
            readonly: n.readonly,
            onInput: r,
            modelValue: o.value,
            "onUpdate:modelValue": _[0] || (_[0] = (_n) => o.value = _n),
            placeholder: n.placeholder
          }), {
            "prefix-icon": vt(() => [
              Lr(d.$slots, "prefix-icon")
            ]),
            _: 3
          }, 16, ["type", "disabled", "readonly", "modelValue", "placeholder"])
        ]),
        _: 3
      }, 16, ["help", "name", "label", "rules"]);
    };
  }
}), mo = {
  install(e) {
    e.component("ProFormInput", _o);
  }
};
export {
  mo as default
};
